//
//  LZDataTool.m
//  LZQQMusic
//
//  Created by apple on 16/4/21.
//  Copyright © 2016年 m14a.cn. All rights reserved.
//

#import "LZDataTool.h"
#import <MJExtension/MJExtension.h>

@implementation LZDataTool

/** 相当于
 *  resultBlock = ^ (NSArray<LZMusicModel *> *muiscMs) {
    self.musicMs = muiscMs;
    }];
 */

+ (void)getMusicDatas:(void(^)(NSArray <LZMusicModel *>*muiscMs))resultBlock
{
    NSArray *array = [LZMusicModel mj_objectArrayWithFilename:@"Musics.plist"];
    // 调用block
    resultBlock([array arrayByAddingObjectsFromArray:array]);
}

@end
